package me.xiaoyan.android.widget;

import android.os.Environment;

public class AppSetting {
	public static final String APP_NAME = "tuition";
	public static final String APP_PACKAGE = "tuition";
	//public static final String BASE_API = "http://192.168.10.2/backend/sesapi.php";
	public static final String BASE_API = "http://s-38550.gotocdn.com:8009/sesapi.php";
	public static final String CHECK_NEWVER_URL = BASE_API + "/app_new";
	public static final String NEWVER_FILENAME = BASE_API + "/app_new";
	public static final String SOURCE_CHARSET = "UTF-8";
	public static final boolean IS_SHOWINFO = true;
	public static final boolean IS_DEBUG = true;

	public static final String APP_SAVEDIR = "demo_app";
	public static final boolean HAS_SDCARD = Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED);
	public static final String APP_SAVE_BASE = Environment.getExternalStorageDirectory().getAbsolutePath() + "/" + APP_SAVEDIR + "/";
	public static final String APP_CACHE_DIR = APP_SAVE_BASE + "cahce/";

	public static final String APP_IMAGE_DIR = APP_SAVE_BASE + "image/";
	public static final String APP_CACHE_CATE = APP_CACHE_DIR + "cate/";
	public static final String APP_CACHE_CHAPTER = APP_CACHE_DIR + "chapter/";	
	public static final String APP_CACHE_INFO = APP_CACHE_DIR + "info/";	
	public static final String APP_CACHE_SOURCE = APP_CACHE_DIR + "info/";	
}
